<template>
  <section>
    <el-form-item label="每行显示数量(PC端)">
      <el-input-number v-model="value.pcvalue" controls-position="right" :min="1" :max="4"></el-input-number>
    </el-form-item>
    <el-form-item label="每行显示数量(手机端)">
      <el-input-number v-model="value.mobilevalue" controls-position="right" :min="1" :max="4"></el-input-number>
    </el-form-item>
  </section>
</template>

<script>
  export default {
    props: {
      value: {
        type: Object,
        default: {
          value: 24
        }
      },
    },
    data() {
      return {
        sp: {},
        sr: {},
        param: {}
      }
    },
    created(options) {
      let that = this;
      that.xinit();
    },
    methods: {
      xinit() {
        let that = this;
      },
      control_click(span) {
        let that = this;
        that.value.pcvalue = parseInt(pcvalue);
        that.value.mobilevalue = parseInt(mobilevalue);
      }
    }
  }
</script>

<style>

</style>
